@charset "utf-8";
$index_color: #b20000;
$font_color: #323232;
$icon_color: #c5c5c5;

@function r($px) {
  @return $px/50px * 1rem;
}

html,
body {
  position: relative;
  overflow: hidden;
}

.web {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  header {
    background: $index_color;
    padding: r(25px) 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    .list_box {
      margin-left: r(24px);
      margin-top: r(8px);
      line-height: r(36px);
      i {
        font-size: r(36px);
      }
    }
    .function_box {
      .icon_box {
        width: r(42px);
        height: r(42px);
        border: 1px solid white;
        border-radius: 50%;
        text-align: center;
        line-height: r(42px);
        margin-right: r(20px);
        i {
          display: inline-block;
          //   visibility: hidden;
          vertical-align: top;
          font-size: r(26px);
        }
      }
    }
    .logo_box {
      width: r(264px);
      height: r(40px);
      margin: 0 auto;
      line-height: r(40px);
      img {
        height: 100%;
        vertical-align: middle;
      }
    }
    i {
      color: white;
    }
  }
  section {
    position: absolute;
    width: 100%;
    top: r(98px);
    bottom: r(128px);
    overflow-y: auto;
  }
  footer {
    position: absolute;
    bottom: 0;
    left: 0;
    border-top: 1px solid #bbb9ba;
    width: 100%;
    background: white;
    ul {
      padding: r(15px) 0 r(12px);
      li {
        width: 20%;
        text-align: center;
        position: relative;
        a {
          color: #8b8b8b;
          display: inline-block;
          width: 100%;
          height: 100%;
          i {
            font-size: r(58px);
          }
          p {
            font-size: r(18px);
          }
          &.active {
            color: $index_color;
          }
          // 激活类.active
        }
        &:not(:last-child)::after {
          content: "";
          display: block;
          width: 1px;
          height: r(50px);
          background-color: $icon_color;
          position: absolute;
          right: 0;
          top: 50%;
        }
      }
    }
  }
}
